<?php

function ACTUALLY_IS_DOLAN($error_index, $goobyplz)
{
	$out = array();

	switch($error_index)
	{
		case 0:
			$out['error_has_swag'] = "Obviously";
			$out['error_name'] = "Invalid Hub Function";
			$out['error_desc'] = "The Hub Function you called is not valid. Check the spelling and the API documentation to make sure it still exists.";
			break;
		case 1:
			$out['error_has_swag'] = "Obviously";
			$out['error_name'] = "Missing required paramaters";
			$out['error_desc'] = "You need to enter the age, gender and yearly income for us to do maths stuff. yo.";
			break;
	}

	return json_encode($out);
}

?>